package com.oocl.service;

import java.util.List;
import com.oocl.pojo.Customer;

public interface CustomerService {
	/**
	 * 
	 * @param customer
	 * @return
	 */
	public int addCustomer(Customer customer);
	
	/**
	 * 
	 * @return
	 */
	public List<Customer> findAllCustomers();
	
	/**
	 * 校验cust 名字是否合法
	 * @param cust
	 * @return
	 */
	public boolean verifyNameFormat(String name);
	
	/**
	 * 
	 * @param cust_id
	 * @return
	 */
	public boolean delByCustId(int cust_id);
	
}
